import $api from ".";

interface PatientInfo {
    realName: string
    docNo: string
    sex: string
    [key:string]: any
}

export const addPatient = (data:PatientInfo)=>{
     return $api.post('/patient/add', data);
}

